﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GraduationProject.Model
{
    public class User
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        private int userID;
        /// <summary>
        /// 用户账户
        /// </summary>
        private string userAccount;
        /// <summary>
        /// 用户密码
        /// </summary>
        private string userPassWd;
        /// <summary>
        /// 用户昵称
        /// </summary>
        private string userName;
        /// <summary>
        /// 用户头像
        /// </summary>
        private string headPortrait;
        /// <summary>
        /// 用户Email
        /// </summary>
        private string userEmail;
        /// <summary>
        /// Email验证状态
        /// </summary>
        private int emailState;
        /// <summary>
        /// 用户手机号
        /// </summary>
        private string userPhone;
        /// <summary>
        /// 用户手机验证状态
        /// </summary>
        private int phoneState;
        /// <summary>
        /// 是否为管理员
        /// </summary>
        private int isAdmin;
        /// <summary>
        /// 用户是否被删除
        /// </summary>
        private bool isDelete;

        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserID { get => userID; set => userID = value; }
        /// <summary>
        /// 用户账户
        /// </summary>
        public string UserAccount { get => userAccount; set => userAccount = value; }
        /// <summary>
        /// 用户密码
        /// </summary>
        public string UserPassWd { get => userPassWd; set => userPassWd = value; }
        /// <summary>
        /// 用户昵称
        /// </summary>
        public string UserName { get => userName; set => userName = value; }
        /// <summary>
        /// 用户头像
        /// </summary>
        public string HeadPortrait { get => headPortrait; set => headPortrait = value; }
        /// <summary>
        /// 用户Email
        /// </summary>
        public string UserEmail { get => userEmail; set => userEmail = value; }
        /// <summary>
        /// Email验证状态
        /// </summary>
        public int EmailState { get => emailState; set => emailState = value; }
        /// <summary>
        /// 用户手机号
        /// </summary>
        public string UserPhone { get => userPhone; set => userPhone = value; }
        /// <summary>
        /// 用户手机验证状态
        /// </summary>
        public int PhoneState { get => phoneState; set => phoneState = value; }
        /// <summary>
        /// 是否为管理员
        /// </summary>
        public int IsAdmin { get => isAdmin; set => isAdmin = value; }
        /// <summary>
        /// 用户是否被删除
        /// </summary>
        public bool IsDelete { get => isDelete; set => isDelete = value; }
    }
}
